package com.xscha.soyue.common.core.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName AesProperties
 * @Description: AES 参数
 * @author Vondser
 * @Date 2022/6/13
 * @Version V2.0
 **/
@Component
@ConfigurationProperties(prefix = "aes")
public class AesProperties {

	/**
	 * AES 密钥
	 */
	public static String KEY;

	public static String IV;

	public void setIv(String iv) {
		IV = iv;
	}

	public void setKey(String key) {
		KEY = key;
	}

}
